import Vue from "vue";
import Vuex from "vuex";
import mutations from "./mutations";
Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    headerTitle: "",
    topBgClass: "home-bg", // 页面上部分背景图
    isLogin: false, // 是否登录状态
    includes: [], // keep-alive配置,
    deviceName: "", // 跳转到设备详情页的标题
    pcUserInfo: {}
  },
  mutations,
  actions: {},
  modules: {}
});
